#pragma once
#include <d3d9.h>
#pragma comment(lib, "d3d9.lib")
#include <d3dx9.h>
#pragma comment(lib, "d3dx9.lib")
#include <dxerr.h>
#pragma comment(lib, "dxerr.lib")

struct CUSTOMVERTEX
{
	D3DXVECTOR3	v3Position;
	D3DXVECTOR3 v3Normal;
	D3DXVECTOR2 v2TextureMap;
};

struct d3dCamera
{
	D3DXVECTOR3 eyePos;			// position of the camera in world space
	D3DXVECTOR3	lookAt;			// the point that the camera is facing
	D3DXVECTOR3	upVec;			// the up direction of the camera
};